import React from 'react'
import FunctionReload from './components/FunctionReload'
type Props = {}

const App = (props: Props) => {
  let m: number = 16
  let n: number = 24
  let r: number = 1
  for (let i = 1; i <= m; i++) {
    if (m % i == 0 && n % i == 0) {
      r = i
    }
  }
  return (
    <div>
      <FunctionReload></FunctionReload>
      <br />
      最大公约数：{r}
      <br />
      最小公倍数：{(m * n) / r}
    </div>
  )
}

export default App
